#ifndef _ITEM_BELT_H_
#define _ITEM_BELT_H_

//---------------------------------------------------------------------------
#include "../../RPGItem.h"
//---------------------------------------------------------------------------

class Item_Belt : public RPGItem
{
private:

public:

	Item_Belt()
	{
		// cargo el sprite del personaje
		LoadIni("./data/items/belt.spr");
		SetGUISprite("./data/items/belt.spr", 0.5f);
	}

	void Use(RPGCharacter *pCharacter)
	{
		float x;
		float y;
		float speed;
		pCharacter->GetPos(x,y);
		speed = pCharacter->GetSpeed();
		pCharacter->LoadIni(pCharacter->m_pcBeltINI);
		pCharacter->SetPos(x,y);
		pCharacter->SetSpeed(speed);
	}
};


#endif //_ITEM_BELT_H_